-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Docs] Add Materialized view manual #4229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| 1. 物化视图的聚合函数的参数不支持表达式仅支持单列,比如: sum(a+b)不支持。 | ||
| 2. 如果删除语句的条件列,在物化视图中不存在,则不能进行删除操作。如果一定要删除数据,则需要先将物化视图删除,然后方可删除数据。 | ||
| 3. 单表上过多的物化视图会影响导入的效率:导入数据时,物化视图和 base 表数据是同步更新的,如果一张表的物化视图表超过10张,则有可能导致导入速度很慢。这就像单次导入需要同时导入10张表数据是一样的。 | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- the same column with two aggregate funciton(select sum(a), count(a)) can't be support now
- aggregation model's table can't support hll_union/bitmap_union/count
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aggregation model's table also support hll_union/bitmap_union/count
Add usage manual of materialized view in Chinese and English Change-Id: Id7dc1a1e0f7b8e13ac12c9524b7b8f3ca5814873
morningman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| | bitmap\_union | bitmap\_union, bitmap\_union\_count, count(distinct) | | ||
| | hll\_union | hll\_raw\_agg, hll\_union\_agg, ndv() | | ||
| | bitmap\_union | bitmap\_union, bitmap\_union\_count, count(distinct) | | ||
| | hll\_union | hll\_raw\_agg, hll\_union\_agg, ndv, approx_count_distinct | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | hll\_union | hll\_raw\_agg, hll\_union\_agg, ndv, approx_count_distinct | | |
| | hll\_union | hll\_raw\_agg, hll\_union\_agg, ndv, approx\_count\_distinct | |
morningman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…p failures and 'key not found' errors (apache#50766) (apache#4065) (apache#4229) Related PR: apache#50037 If an error occurs during transaction label recycling, the vector recording keys cannot be cleaned up. Keys that were already cleaned up in the previous scan and recycle cycle will be carried over to the next scan and recycle cycle, causing a large number of 'key not found' errors.
Change-Id: Id7dc1a1e0f7b8e13ac12c9524b7b8f3ca5814873
Proposed changes
Add usage manual of materialized view in Chinese and English
Types of changes
What types of changes does your code introduce to Doris?
Put an
xin the boxes that applyChecklist
Put an
xin the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.